package com.tbit.uqbike.object.pojo;

import java.util.Map;

/**
 * 终端消息
 *
 * @author Leon
 * 2017年5月18日 下午3:12:36
 */
public class TerMsg {
    /**
     * 设备编号
     */
    private String sn;

    /**
     * 多个设备编号的key
     */
    private String redisSn;
    /**
     * 控制类型
     */
    private String controlType;
    /**
     * 流水号
     */
    private String serNO;
    /**
     * 参数名称
     */
    private String paramName;
    /**
     * 参数值
     */
    private String paramValue;

    private Boolean async;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getControlType() {
        return controlType;
    }

    public void setControlType(String controlType) {
        this.controlType = controlType;
    }

    public String getSerNO() {
        return serNO;
    }

    public void setSerNO(String serNO) {
        this.serNO = serNO;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamValue() {
        return paramValue;
    }

    public void setParamValue(String paramValue) {
        this.paramValue = paramValue;
    }

    public String getRedisSn() {
        return redisSn;
    }

    public void setRedisSn(String redisSn) {
        this.redisSn = redisSn;
    }

    public boolean isAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }

    @Override
    public String toString() {
        return "TerMsg [sn=" + sn + ", controlType=" + controlType + ", serNO=" + serNO + ", paramName=" + paramName + ", paramValue=" + paramValue + "]";
    }

}
